package com.bitejiuyeke.job_publish.dao;

import com.bitejiuyeke.job_publish.model.SendRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SendRecordMapper {
    int insert(SendRecord row);

    int insertSelective(SendRecord row);

    SendRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SendRecord row);

    int updateByPrimaryKey(SendRecord row);

    int selectTotalByReceiveUser(SendRecord row);

    List<SendRecord> selectPageByReceiveUser (SendRecord row);

    int selectTotalByUser(SendRecord row);

    List<SendRecord> selectPageByUser (SendRecord row);

    int selectTotalByJob(SendRecord row);

    List<SendRecord> selectPageByJob (SendRecord row);
}